public class cun {
    public static void main(String[] args) {
        int number = 1;
        System.out.println("调用change方法前："+number);
        number=change(number);
        System.out.println("调用change方法后："+number);
    }
    public static int change(int number) {
        number = 2;
        return number;
    }
}
